package com.oracle.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.oracle.pojo.PhComment;
import com.oracle.pojo.PhCommentExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PhCommentMapper extends BaseMapper<PhComment> {
    int counPhyExample(PhCommentExample example);

    int deleteByExample(PhCommentExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PhComment record);

    int insertSelective(PhComment record);

    List<PhComment> selecPhyExample(PhCommentExample example);

    PhComment selecPhyPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PhComment record, @Param("example") PhCommentExample example);

    int updateByExample(@Param("record") PhComment record, @Param("example") PhCommentExample example);

    int updateByPrimaryKeySelective(PhComment record);

    int updateByPrimaryKey(PhComment record);
}
